package cadtoolbox.model;


public class Constants {
	
	public static double Kduplex = 0.2; // unit is "per nMolar per min"
	public static double displ = 0.2;
    
	// With saturation
	public static double exoConc = 1;
	public static double exoVm = 300;
    public static double exoKmSimple = 440;
    public static double exoKmInhib = 150;
	public static double exoKmTemplate = 40;
    
    public static double polVm = 2100;
    public static double polKm = 80;
    public static double polKmBoth = 5.5;
    
    public static double nickVm = 80;
    public static double nickKm = 30;
    
	public static final double PadiracKSimpleDiv = 0.013453938452081501;
	public static final double PadiracKInhibDiv = 4.618812442295603;
	public static double alpha =3;
	
	public static int numberOfPoints = 1000;

	public static double ratioToeholdLeft = 0.002;
	public static double ratioToeholdRight = 0.01;
	public static double absprec = 1e-6;
	public static double relprec = 1e-6;
	
	public static boolean fullExport = false;
	
	// Only used for optimization, right now
	public static final double simpleKmin = 3e-2/Kduplex;
	public static final double simpleKmax = 2e1/Kduplex;
	public static final double inhibKmin = 1e-7/Kduplex;
	public static final double inhibKmax = 1e-1/Kduplex;
	
	public static double ratioSelfStart = 1e-10;
	
	public static void reset(){
		Kduplex = 0.2; // unit is "per nMolar per min"
		displ = 0.2;
	    
		// With saturation
		exoConc = 1;
		exoVm = 300;
	    exoKmSimple = 440;
	    exoKmInhib = 150;
		exoKmTemplate = 40;
	    
	    polVm = 2100;
	    polKm = 80;
	    polKmBoth = 5.5;
	    
	    nickVm = 80;
	    nickKm = 30;
	    
		
		alpha =3;
		
		numberOfPoints = 1000;

		ratioToehold = 0.01;
		absprec = 1e-6;
		relprec = 1e-6;
		
		ratioSelfStart = 1e-10;
	}
}
